package moble

import "gorm.io/gorm"

type Video struct {
	gorm.Model
	UserId     int32  `gorm:"column:user_id;type:int;" json:"user_id"`
	TitleImage string `gorm:"column:title_image;type:varchar(500);" json:"title_image"`
	VideoUrl   string `gorm:"column:video_url;type:varchar(500);" json:"video_url"`
	View       int32  `gorm:"column:view;type:int;" json:"view"`
	Likes      int32  `gorm:"column:likes;type:int;" json:"likes"`
	Title      string `gorm:"column:title;type:varchar(100);" json:"title"`
	Des        string `gorm:"column:des;type:varchar(200);" json:"des"`
	TimeUse    int32  `gorm:"column:time_use;type:int;" json:"time_use"`
}
